﻿using System;

namespace HZP
{
    /// <summary>
    /// 通用的表头控制的配置单
    /// </summary>
    class ColConfig
    {
        public string ColName { get; set; }
        public string ColType { get; set; } = "string";
        public string FieldName { get; set; }
        public string FieldType { get; set; }="string";
        public bool Editable { get; set; } = false;
        public bool Freezeable { get; set; } = false;
        public int Width { get; set; } = 80;
    }
    class ButtonConfig
    {
        public string Text { get; set; }
        public string Tooltip { get; set; }
        public EventHandler Click { get; set; }
    }
}
